<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<img id="image" lowsrc="http://hostname/lowsrc.png" style="visibility: hidden;">
<script>
description("This test checks that the lowsrc attribute of img tags are accessible via JavaScript.");
var image = document.getElementById('image');
shouldBe("image.lowsrc", "'http://hostname/lowsrc.png'");
image.lowsrc = "http://hostname/newlowsrc.png";
shouldBe("image.lowsrc", "'http://hostname/newlowsrc.png'");
</script>
</body>
</html>
